Auth
POST/auth
Authenticate user using signed data standard EIP-191
Request
Query Parameters
apiKey string
(Required) Your Public API key
Example: {{publicKey}}
- application/json
Body
hash string
signature string
ownerAddress string
smartWalletAddress string
Responses
- 201
- 400
- 403
Created
- application/json
- Schema
- Example (from schema)
Schema
jwt string
{
"jwt": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvd25lckFkZHJlc3MiOiIweDgwOUI3ODM3MWY1MGYyOEQyQzYxRjYzZTQ4YjU4YjdFZTA1M0UzRWEiLCJwcm9qZWN0SWQiOiI2M2NkMWJjMWQxOGMxNjQyMmJiOGMwYzMiLCJpYXQiOjE2NzUzMjcxOTR9.-iWIEN6OLyCI4j5WOA8V2mH3KQtrmEoUGhIS4migV9g"
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage string
path string
{
"statusCode": 400,
"errorMessage": "Owner Address does not match recovered address in signature",
"path": "/api/v2/smart-wallets/auth?apiKey={{publicKey}}"
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
statusCode integer
errorMessage string
path string
{
"statusCode": 403,
"errorMessage": "Forbidden resource",
"path": "/api/v2/smart-wallets/auth?apiKey={{publicKey}}"
}
Loading...